package com.cloudm.technician.ui.modules.cloudm_box.cloudm_device

import com.cloudm.technician.data.network.CloudmBoxApi
import com.cloudm.technician.di.PerFragment
import dagger.Module
import dagger.Provides

/**
 * 作者: wesley
 * 时间: 2017/12/25
 * 描述: 提供实例
 */
@Module
class CloudmDevicePresenterModule(private val view: CloudmDeviceContract.View) {

    @PerFragment
    @Provides
    fun provideCloudmDevicePresenter(cloudmBoxApi: CloudmBoxApi) = CloudmDevicePresenter(view,
            cloudmBoxApi)
}